package com.depth.viewer.utils.json
{
	
	/**
	 * @example ActionScript to use JSONToken: 
	 * <listing version="3.0">
	 * var type:int=-1;
	 * var value:Object=null;
	 * var jSONToken:JSONToken = new JSONToken(type,value);
	 * </listing>
	 *
	 **/
	
	public class JSONToken extends Object
	{
		private var _type:int;
		private var _value:Object;
		
		public function JSONToken(type:int=-1,value:Object=null)
		{
			this._type=type;
			this._value=value;
			return;
		}
		
		public function set type(t:int):void{
		
			this._type=t;
			return;
		}
		
		public function get type():int{
		
			return this._type;
		}
		
		public function set value(v:Object):void{
			
			this._value=v;
			return;
		}
		
		public function get value():Object{
			
			return this._value;
		}
	}
}